<?php
return array(
	//'配置项'=>'配置值'
    #############################模块访问权限设置############################
    'MODULE_DENY_LIST'      =>  array('Common','Runtime','Api'),
    'MODULE_ALLOW_LIST'    =>    array('Home','Admin'),
    'DEFAULT_MODULE'       =>    'Home',

    #############################框架参数设置############################
    'URL_CASE_INSENSITIVE'  =>  true,                       //解决URL大小写,true为不区分大小写
    'LOAD_EXT_CONFIG'       => 'web,db',                    //加载额外配置web和db
    'SHOW_PAGE_TRACE'       =>  true,                       //显示页面Trace信息
    'TMPL_FILE_DEPR'        =>  '_',                        //简化目录层次
    'DEFAULT_THEME'    		=>	'default',                  // 设置默认的模板主题
    'URL_MODEL'             =>  2,

    #############################类库设置############################
    'AUTOLOAD_NAMESPACE' => array(
        'Lib'     => APP_PATH.'Lib',
    ),

    #############################auth设置############################
    'AUTH_CONFIG'           => array(
        'AUTH_ON'           => true,                        // 认证开关
        'AUTH_TYPE'         => 1,                           // 认证方式，1为实时认证；2为登录认证。
        'AUTH_GROUP'        => 'fd_group',                  // 用户组数据表名
        'AUTH_GROUP_ACCESS' => 'fd_admin_group',            // 用户-用户组关系表
        'AUTH_RULE'         => 'fd_rule',                   // 权限规则表
        'AUTH_USER'         => 'fd_member'                  // 用户信息表
    ),


    'SESSION_PREFIX'        => 'fd',
    'ADMIN_SESSION'         => 'fd_admin',
    'FRONT_SESSION'         => 'fd_member',

    'TMPL_PARSE_STRING'     => array(
        '__WEBURL__'        => WEBURL,
        '__PUBLIC__'        => WEBURL.__ROOT__.'/Public',
        '__STATIC__'        => WEBURL.__ROOT__.'/Public/static',
        '__STATICHOME__'    => WEBURL.__ROOT__.'/Public/static/home',
        '__STATICADMIN__'   => WEBURL.__ROOT__.'/Public/static/admin',
        '__STATICPUBLIC__'  => WEBURL.__ROOT__.'/Public/static/public',
        '__HOMECSS__'       => WEBURL.__ROOT__.'/Public/static/home/css',
        '__HOMEJS__'        => WEBURL.__ROOT__.'/Public/static/home/js',
        '__ADMINCSS__'      => WEBURL.__ROOT__.'/Public/static/admin/css',
        '__ADMINJS__'       => WEBURL.__ROOT__.'/Public/static/admin/js',
        '__PUBLICCSS__'     => WEBURL.__ROOT__.'/Public/static/home/css',
        '__PUBLICJS__'      => WEBURL.__ROOT__.'/Public/static/home/js'
    )
);